import React,{Component} from 'react';
import '../../../../../style/component/CommonBlock.less'
class CommonBlock extends Component{
    constructor(props){
        super(props);

    }
    render (){
        return (
            <div className='commonBlock'>
                {
                   this.props.blockName ==='' ?  null:
                    <span >{this.props.blockName}</span>
                }
                {this.props.children}
            </div>
        )
    }
}
export {CommonBlock}